<?php 
include '../function.php';

$p = $_GET['p'];

$arr = array(							// 二维数组 
	array(
		"name" => "小红",
		"age" => "女",
		"like" => "music",
	),
	array(
		"name" => "小明",
		"age" => "男",
		"like" => "music",
	),
	array(
		"name" => "小L",
		"age" => "女",
		"like" => "music",
		),
	);
foreach ($arr[$p] as $k => $v) {
	echo $k."==>".$v."<br>";
}
var_dump($arr[$p]);









 ?>